/*************************************************************************
> File Name: cite_04.cpp
> Author: hzy
> Created Time: 2023-08-08 19:06:47
> Description: 常量引用
************************************************************************/
#include <iostream>

using namespace std;

int main()
{
    int a = 34;

    const int &b = a;
    cout << "a = " << a << ", b = " << b << endl;
    a = 23;
    cout << "a = " << a << ", b = " << b << endl;
    //b = 33;
    cout << "a = " << a << ", b = " << b << endl;

    const int &c = 123;
    cout << c << endl;
    return 0;
}